Taking multiple inputs from user in Python